\section{View}
In the View Configuration you can define the looks of a view and manage them.
To import or export views you have to go to the ``File'' menu.
The numbers in the description refer to the picture \ref{view}.
\begin{enumerate}
  \item In this combobox you can choose the current view to edit.
  \item The button ``new View'' creates like it promises a new view with the
  name ``New View''.
  \item If you want to create a new view on the basis of an old one, just copy
  the old one with this button. The copy is available with the name
  ``yourviewname\_copy''.
  \item Is a view no longer needed, just delete it with this button.
  \item In this window all the gauges of the current selected view are listed.
  You can right-click here to get the options: add Gauge, copy Gauge, remove
  Gauge and reload Data. If you choose ``add Gauge'' a new window will pop up
  where you can specify the type of the gauge and the name. The option ``copy
  gauge'' creates an exact copy of the current selected gauge. If you no longer
  need a gauge you can delete it permanently with ``remove Gauge''. 
  \item In the textbox ``Name of View'' you can give your view a name so that
  you can identify it. To avoid confusion please specify a unique name.
  \item In the description field you have the possibility to give a short
  summary for what purpose the view was generated.
  \item The background option defines the background colour of the view.
  \item Here are the configurations of the currently selected gauge displayed.
  \item If you made changes to a gauge, don't forget to press the ``Apply
  Changes'' button or your changes are discarded.
\end{enumerate} 

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/view.png}
  \caption{View Configuration}
  \label{view}
\end{figure}

\subsection{Gauges}

To visualize the signals of the switch, you can use three different gauges: 
Tacho 3d, Bargraph and Graph 2d. 
Each gauge has two different panels to configure their scale and behaviour.

\subsubsection{Tacho 3d}

The Tacho 3d visualizes the signals within a three dimensional speedometer. The
history is shown in the z-axis. You can see the basic configurations in figure
\ref{tacho3d}.

\begin{enumerate}
  \item In this box, you can define the name of the gauge, which will be displayed in the view.
  \item If this checkbox is enabled, the current gauge with all its signals will be 
  mapped to all ports at the switch. 
  \item The gauge can display the data within a logarithmic and a linear scale. 
  The start and the end of the scale can be set below.
  \item The first box defines how many values will be stored, the second decides which one. 
  Set to one means, all values will be stored, a two chooses every second one, at three, every third value is stored, ...
  \item Here you can specify the width of the needles and the point size.
  \item The alarm mode indicates how the reaching of a limit will be
  visualized. At the recent version only the flashing alarm mode is available.
\end{enumerate}

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/tacho3d.png}
  \caption{Tacho 3d Configuration}
  \label{tacho3d}
\end{figure}

The configuration of the scale is demonstrated in figure \ref{tacho3dscale}.

\begin{enumerate}
  \item The start of scale is the point where the lowest value will be. If your
  value has a range from $0$ to $100$ the $0$ will be at that point. The angle
  of the scale let you define the arch of the scale in degrees. Is it at 360
  the tacho will be a circle, is it at 180 you got half a circle. The depth
  indicates the length of the z-axis where the older values are displayed.
  \item Here you can define the configuration and the amount of the big ticks.
  \item The same here for the small ticks.
  \item You can define the colour of the scale and the colour of the labels.
\end{enumerate}

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/tacho3dscale.png}
  \caption{Tacho Scale Configuration}
  \label{tacho3dscale}
\end{figure}

\subsubsection{Bargraph}

The Bargraph visualize the signal like its name indicates like a bargraph. The
history of the signals are displayed in the z-axis. If you look in front of the
gauge you got the amplitude representation, if you turn it sideways you got the
time representation. The basic configurations are shown in figure
\ref{bargraph}.

\begin{enumerate}
  \item Here you got the same options as in the Tacho 3d gauge.
  \item History memory is the amount of old values that will be visualized. To
  clearly separate the current value from the history values in the amplitude
  representation you got a bar in a different colour put on top of the current
  value. The value bar height lets you define the height of this bar. The line
  width value is important for the time representation where you can define the
  thickness of the function plot line.
  \item You can define the range of the values that will be visualized here and
  also declare ind depth view the length of the z-axis.
  \item If you want only to represent logarithmic signals you should change
  this option to ``logarithmical''.
  
\end{enumerate}

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/bargraph.png}
  \caption{Bargraph Configuration}
  \label{bargraph}
\end{figure}

In the Bargraph scale configuration as seen in figure \ref{bargraphscale} you
can change the number of gridlines at $(1)$ and change the colours at $(2)$.

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/bargraphscale.png}
  \caption{Bargraph Scale Configuration}
  \label{bargraphscale}
\end{figure}

\subsubsection{Graph 2d}
The Graph 2d visualizes the signals in a 2d representation where the current
value is displayed on the right side of the graph and, along to the other side
of the graph, the history.

\begin{enumerate}
  \item Here you got the same basic options as in the Bargraph or the Tacho 3d.
  \item Change the scalemode to the same mode as the gauges signals are. You
  can also define the range of the values that will be visualized.
  \item The data length is the amount of old values that will be displayed.
  Granularity greater than one means that not every signal will be stored in the
  history. Set at two only every second signal will be stored. The point size
  is the thickness of the line of the plot function of the signal.
  \item There's at the moment no intention to define an alarm mode for this
  gauge so you can skip this option.
\end{enumerate}

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/graph.png}
  \caption{Graph 2d Configuration}
  \label{graph}
\end{figure}

The Graph Board in figure \ref{graphscale} lets you configure the big ticks at
$(1)$, the small ticks at $(2)$ and the colour of the scale and labels at $(3)$.

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/graphscale.png}
  \caption{Graph Scale Configuration}
  \label{graphscale}
\end{figure}

\subsection{Gauge Signals}
To get the option of removing or adding signals to a gauge you just have to be
in the ``Signals'' section of the gauge configuration as you can see in figure
\ref{simplesignal} and right click in the area of $(1)$ where all the current
added signals are listed.
If you add a signal, you have to define a unique name and select a type.
There are three different kinds of signals, simple signals,
complex signals and test signals. A test signal is only used to demonstrate the gauge and its value
is generated via a random number generator. The other two types of signals are
described in the next sections.

\subsubsection{Simple Signals}
A simple signal represents one OID. In figure \ref{simplesignal} you see the
configuration panel of a simple signal. At $(2)$ you can change the signal
name, select a detail level and assign a colour to it. You got three choices of
signal detail level:

\begin{itemize}
  \item {\bf Simple: } This is the default option and means that the signal will
  always be visualized.
  \item {\bf Detailed: } This option will only display the signal in the
  detailed view of the gauge.
  \item {\bf Off: } You can turn the visualization of the signal completely off.
  This makes sense if you use the value of the signal in a complex signal and
  the value of the standalone signal itself holds no important information to
  you.
\end{itemize}

At $(3)$ you have to select the alias signal. If the selected alias needs
additionaly a port information you get the port field for specifying it.
In case the gauge has the option ``Multiple per Port'' turned on this value
gets overridden. ``Difference'' means that the signal will represnt the
difference between the current and the previous signal value. The value in
``Offset'' will be added to the value of the signal. The ``Coefficient'' will
multiply the signal value with its value. If you plan to use the signal in a
logarithmic gauge you should check the ``Logarithm'' option.
At $(4)$ you can specify the maximum and the minimum of the signal value and
define if you want to be informed if these values have been reached.

 \begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/signalsimple.png}
  \caption{Simple Signal Configuration}
  \label{simplesignal}
\end{figure}

\subsubsection{Complex Signals}
A complex signal is composed out of two values and a mathematical operation.
The values can come from simple signals or other complex
signals so that you can create complex structures. At $(1)$ in figure
\ref{complexsignal} are the same options as in the simple signal configuration.
At $(2)$ you can define the two values and the operation. The other options at
$(2)$ and the options at $(3)$ are the same again as in the simple signal
configuration.
 

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/signalcomplex.png}
  \caption{Complex Signal Configuration}
  \label{complexsignal}
\end{figure}

\subsection{Preview}

The preview section in the gauge configuration displays the gauge how it will
be visualized. The signals of the gauge are exchanged with test signals.

\begin{figure}[H]
  \centering
  \includegraphics[scale=0.4,angle=00.0]{./screenshots/preview.png}
  \caption{Preview}
  \label{preview}
\end{figure}